The grid icons in the search results page doesn't expand to
acommodate the multiline label, resulting in the multiline
label to overflow behind the list search results. However,
after
548d3b62d, it was possible to trigger this behavior
with keyboard focus.
Don't update multiline labels for search results.
Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/1509>
}
this._otherIconIsHovering = false;
+ this._expandTitleOnHover = expandTitleOnHover;
if (expandTitleOnHover)
this.connect('notify::hover', this._onHover.bind(this));
}
_updateMultiline() {
- if (!this.icon.label)
+ if (!this._expandTitleOnHover || !this.icon.label)
return;
const { label } = this.icon;